﻿<Activity x:Class="{x:Null}" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:hbt="clr-namespace:Headsight.BPMN2WF.Testing;assembly=Headsight.BPMN2WFTest" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Flowchart mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
    <Flowchart.Variables>
      <Variable x:TypeArguments="x:String" Name="FlowDecisionVariable" />
    </Flowchart.Variables>
    <Flowchart.StartNode>
      <x:Reference>__ReferenceID4</x:Reference>
    </Flowchart.StartNode>
    <FlowStep x:Name="__ReferenceID4">
      <Sequence DisplayName="_name_tUserTask2 (id: _id_tUserTask2)">
        <If Condition="[True = False]">
          <If.Then>
            <Assign>
              <Assign.To>
                <OutArgument x:TypeArguments="x:String">[FlowDecisionVariable]</OutArgument>
              </Assign.To>
              <Assign.Value>
                <InArgument x:TypeArguments="x:String">["_name_tUserTask1 (id: _id_tUserTask1)"]</InArgument>
              </Assign.Value>
            </Assign>
          </If.Then>
        </If>
        <If Condition="[True = True]">
          <If.Then>
            <Assign>
              <Assign.To>
                <OutArgument x:TypeArguments="x:String">[FlowDecisionVariable]</OutArgument>
              </Assign.To>
              <Assign.Value>
                <InArgument x:TypeArguments="x:String">["_name_tUserTask2 (id: _id_tUserTask2)"]</InArgument>
              </Assign.Value>
            </Assign>
          </If.Then>
        </If>
      </Sequence>
      <FlowStep.Next>
        <FlowSwitch x:TypeArguments="x:String" x:Name="__ReferenceID0" Expression="[FlowDecisionVariable]">
          <FlowSwitch.Default>
            <FlowStep x:Name="__ReferenceID3">
              <Throw Exception="[New System.Exception(&quot;Next flow step could not be determined and BPMN source model has not defined any default branch. BPMN execution semantics require to throw this exception.&quot;)]" />
            </FlowStep>
          </FlowSwitch.Default>
          <FlowStep x:Key="_name_tUserTask1 (id: _id_tUserTask1)" x:Name="__ReferenceID1">
            <hbt:FourTestingActivity Text="block__id_tUserTask1" />
          </FlowStep>
          <FlowStep x:Key="_name_tUserTask2 (id: _id_tUserTask2)" x:Name="__ReferenceID2">
            <hbt:FourTestingActivity Text="block__id_tUserTask2" />
          </FlowStep>
        </FlowSwitch>
      </FlowStep.Next>
    </FlowStep>
    <x:Reference>__ReferenceID0</x:Reference>
    <x:Reference>__ReferenceID1</x:Reference>
    <x:Reference>__ReferenceID2</x:Reference>
    <x:Reference>__ReferenceID3</x:Reference>
  </Flowchart>
</Activity>